<?php
include 'class.php';
include_once 'connect.php';
session_start();
$conversation=new chat;
if($_POST['message']){
	$conversation->student_id =$_SESSION['student_ID'] ;
	$conversation->message = $_POST["message"];
	$conversation->Send($conversation->student_id,$conversation->message);
}
//$conversation->recieve();
?>